package com.weiweiqin.entity;

import java.io.Serializable;
import javax.persistence.Entity;
 
@Entity
public class Account implements Serializable {
 
    private static final long serialVersionUID = -7970848646314840509L;
 
    private Integer id;
    private Integer status;
    private String username;
    private String password;
    private String salt;
    private String email;
    private Integer roleId;
    
    //getter��setter
 
    @Override
    public String toString() {
        return this.id + "#" + this.status + "#" + this.username +  "#" + 
            this.password +  "#" + this.email +  "#" + this.salt + "#" + this.roleId;
    }

	 

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}



	public Integer getId() {
		return id;
	}



	public void setId(Integer id) {
		this.id = id;
	}
}